package com.itheima.service;

import com.itheima.domain.SmsHomeAdvertise;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.util.PageBean;
import com.itheima.util.PageBeanVo;

import java.util.List;

/**
 * <p>
 * 首页轮播广告表 服务类
 * </p>
 *
 * @author zhuguo
 * @since 2022-11-10
 */
public interface SmsHomeAdvertiseService extends IService<SmsHomeAdvertise> {
    PageBeanVo list(String name, Integer type, Integer pageNum, Integer pageSize, String endTime);

    //添加
    void add(SmsHomeAdvertise smsHomeAdvertise);
    //删除
    void delete(Integer [] ids);
    //修改上下线状态
    void updateStatus(Integer id,Integer status);
    //修改广告
    void updateById(SmsHomeAdvertise smsHomeAdvertise,Integer id);
    //获取广告详情
    SmsHomeAdvertise findById(Integer id);
}
